package com.beta.dto.pay;

import com.beta.em.pay.PayRoutes;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * Created by vector on 2016/11/25.
 */
public class PayRequestDto implements Serializable {

    private static final long serialVersionUID = 4072492728154271377L;

    /**
     * 用户Code
     */
    private String userCode;

    /**
     * 支付单编号（保证唯一）
     */
    private String paymentCode;

    /**
     * 支付金额
     */
    private BigDecimal amount;

    /**
     * 商品名称
     */
    private String productName;

    /**
     * 商品描述
     */
    private String productDesc;

    /**
     * 通知回调地址
     */
    private String callbackUrl;

    /**
     * web回跳地址
     */
    private String webCallbackUrl;

    /**
     * 有效时间(分钟)
     */
    private Long invalidMinutes;

    /**
     * 支付类型
     */
    private PayRoutes payRoutes;

    /**
     * 客户端IP地址
     */
    private String clientIp;

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getPaymentCode() {
        return paymentCode;
    }

    public void setPaymentCode(String paymentCode) {
        this.paymentCode = paymentCode;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductDesc() {
        return productDesc;
    }

    public void setProductDesc(String productDesc) {
        this.productDesc = productDesc;
    }

    public String getCallbackUrl() {
        return callbackUrl;
    }

    public void setCallbackUrl(String callbackUrl) {
        this.callbackUrl = callbackUrl;
    }

    public Long getInvalidMinutes() {
        return invalidMinutes;
    }

    public void setInvalidMinutes(Long invalidMinutes) {
        this.invalidMinutes = invalidMinutes;
    }

    public PayRoutes getPayRoutes() {
        return payRoutes;
    }

    public void setPayRoutes(PayRoutes payRoutes) {
        this.payRoutes = payRoutes;
    }

    public String getWebCallbackUrl() {
        return webCallbackUrl;
    }

    public void setWebCallbackUrl(String webCallbackUrl) {
        this.webCallbackUrl = webCallbackUrl;
    }

    public String getClientIp() {
        return clientIp;
    }

    public void setClientIp(String clientIp) {
        this.clientIp = clientIp;
    }
}
